<template>
	<div class="address-default">
		<router-link to="/user_address" tag="div" class="address-default-container">
			<div class="address-default-flex">
				<div>
					<span class="iconfont icon-address2"></span>
				</div>
				<div class="address-default-flex-info">
					<div class="address-default-flex-info-title">
						<span>{{address.linkMan}}</span>
						<span>{{address.mobile}}</span>
					</div>
					<div class="address-default-flex-info-detail">
						<span>{{address.address}}</span>
					</div>
				</div>
				<div>
					<span class="iconfont icon-angle-right"></span>
				</div>
			</div>
		</router-link>
	</div>
</template>

<script>
	export default {
		name: "defaultAddress",
		props: {
			address: {
				type: Object,
				required: true
			}
		}
	}
</script>
